package com.kuang.demo.mapper;

import com.kuang.demo.bean.GoodsBean.GoodsBO.AddGoods;
import com.kuang.demo.bean.GoodsBean.GoodsBO.AddGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddGoodsMapper {
    long countByExample(AddGoodsExample example);

    int deleteByExample(AddGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AddGoods record);

    int insertSelective(AddGoods record);

    List<AddGoods> selectByExampleWithBLOBs(AddGoodsExample example);

    List<AddGoods> selectByExample(AddGoodsExample example);



    AddGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AddGoods record, @Param("example") AddGoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") AddGoods record, @Param("example") AddGoodsExample example);

    int updateByExample(@Param("record") AddGoods record, @Param("example") AddGoodsExample example);

    int updateByPrimaryKeySelective(AddGoods record);

    int updateByPrimaryKeyWithBLOBs(AddGoods record);

    int updateByPrimaryKey(AddGoods record);
}